<extend name="Index/index" />
<block name="Main content">
    <!-- <div class="container"> -->
    <div style="padding:10px">
        <!-- <h1><span class="glyphicon glyphicon-user"></span> <{$title}></h1> -->
        

    <div class="col-md-12">
    <div class="row">
        <nav class="navbar bg-danger">
            <div class="container-fluid">
                <div class="collapse navbar-collapse">
                    <ul class="nav navbar-nav h6">
                        <li class="active"><a href="./index.php">全部问题</a></li>
                        <li><a href="./index.php?status=0"><span class="glyphicon glyphicon-folder-open"></span> 未付款</a></li>
                        <li><a href="./index.php?status=1"><span class="glyphicon glyphicon-flag"></span> 待发货</a></li>
                        <li><a href="./index.php?status=2"><span class="glyphicon glyphicon-send"></span> 已发货</a></li>
                        <li><a href="./index.php?status=3"><span class="glyphicon glyphicon-ok"></span> 已完成</a></li>
                        <li><a href="./index.php?status=4"><span class="glyphicon glyphicon-remove"></span> 已失效</a></li>
                    </ul>
                    <form class="navbar-form navbar-left" action="" method="get">
                        <div class="form-group">
                            <input type="text" name="name" class="form-control" placeholder="问题编号搜索">
                        </div>
                        <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span> 搜索</button>
                    </form>
                </div><!-- /.navbar-collapse -->
            </div><!-- /.container-fluid -->
        </nav>



     <!--    <?php //if (empty($list)):  ?>
            <table class="table table-hover">
                <tr>
                    <td class="text-center h5 bg-success">暂无数据</td>
                </tr>
            </table>
         <?php //else: ?> -->
        
            <{$list}>
            <volist name="list" id="v">
                <table class="table table-bordered table-hover h6">
                    <tr class="bg-success">
                        <td class="col-md-2">
                            问题ID: &nbsp<{$v.id}>
                        </td>
                        <td  class="col-md-4">
                            标题: 23232322233232
                        </td>
                        <td class="col-md-2">
                            <span>状态: </span>
                           
                                         <span class="label label-warning"><span class="glyphicon glyphicon-flag"></span>&nbsp;&nbsp;0&nbsp;&nbsp;未付款</span>

                        </td>
                        <td class="col-md-2">
                          
                                
                               <a href="./action.php?a=send&order_id='.$val['id'].'" class="btn btn-danger btn-sm">立即发货</a>
                                <a href="./action.php?a=receive&order_id='.$val['id'].'" class="btn btn-warning btn-sm">强制收货</a>
                          
                            <!--点击收货, 设置定时自动收货则可以省略-->
                        </td>
                        <td class="col-md-2">
                         <a href="./action.php?a=cancel&order_id='.$val['id'].'" class="btn btn-info btn-sm">撤销问题</a>

                            
                        </td>
                    </tr>
                
                    <tr>
                        <td class="col-md-1">
                            <a href="<?php echo ADMIN_URL ?>../detail.php?goods_id=<?php echo $goods_id[$i] ?>&gname=<?php echo $gname[$i] ?>" target="_blank">
                                <img src="">
                            </a>
                        </td>
                        <th>
                            <a href="<?php echo ADMIN_URL ?>../detail.php?goods_id=<?php echo $goods_id[$i] ?>&gname=<?php echo $gname[$i] ?>" target="_blank">
                                ID:234234234
                            </a>
                        </th>
                        <td>数量: 22</td>
                        <td>单价: 33</td>
                        <td>小计:233</td>
                    </tr>
               

                    <tr>
                        <th>用户ID : 2322</th>
                        <td>地址: 地址</td>
                        <td>收货人: 杨云</td>
                        <td>手机: 21337666</td>
                        <td>总计: ¥&nbsp;1222</td>
                    </tr>
                </table>
           </volist>
            <div><{$page}></div>
        


    </div><!--end row-->
</div><!-- end container -->
       
    </div>
</block>